Page({
  data: {
    list: [
      {
        icon: '/assets/main/toilet.png',
        text: '清洗厕所马桶',
        dropdown: false,
        responsible: [
          {
            name: '小周',
            avartar: '/assets/chat/member1.png'
          }
        ],
        showAdd: true
      },
      {
        icon: '/assets/main/clean2.png',
        text: '打扫厕所下水道',
        dropdown: false,
        responsible: [
          {
            name: '小何',
            avartar: '/assets/chat/member4.png'
          },
          {
            name: '小林',
            avartar: '/assets/chat/member3.png'
          }
        ],
        showAdd: true
      },
      {
        icon: '/assets/main/trash.png',
        text: '扔垃圾',
        dropdown: false,
        responsible: [
          {
            name: '小陈',
            avartar: '/assets/chat/member2.png'
          }
        ],
        showAdd: true
      }
    ],
    members: [
      {
        name: '小周',
        avartar: '/assets/chat/member1.png'
      },
      {
        name: '小陈',
        avartar: '/assets/chat/member2.png'
      },
      {
        name: '小林',
        avartar: '/assets/chat/member3.png'
      },
      {
        name: '小何',
        avartar: '/assets/chat/member4.png'
      }
    ],
    assign: true,
    showSelector: false, 
    currentTaskId: null, 
    list2: [
      {
        icon: '/assets/main/toilet.png',
        text: '清洗厕所马桶'
      },
      {
        icon: '/assets/main/clean2.png',
        text: '打扫宿舍地板'
      },
      {
        icon: '/assets/main/shower.png',
        text: '清洗厕所卫浴'
      },
      {
        icon: '/assets/main/box.png',
        text: '帮助舍友取快递'
      }
    ]
  },
  handleChangeAssign(e) {
    this.setData({
      assign: e.detail.assign
    });
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})